SureTaxAPI
PUT LegalEntities
Overview
The PUT LegalEntities API endpoint facilitates the process of modifying a legal entity.
OperationId: PUT LegalEntities
Authorization Method(s): OAuth
Verb: PUT
End Point: /Account/LegalEntities/{entitycode}
Example Request
The following is an json request for this operation.
{
"entityName": "testentity",
"isActive": true,
"contactNumbers": [
{
"contactNumberType": "BusinessOther2",
"contactPhonenumber": "8148128234"
}
],
"entityAddress": {
"address1": "address1",
"address2": "string",
"city": "city",
"state": "TX",
"country": "US",
"zipcode": "12345",
"plus4": "1234"
},
"contactPersons": [
{
"personType": "Primary",
"personName": "testname",
"emailAddress": "test@test.com"
}
],
"fein": "1234567890",
"website": "www.test.com",
"notificationBusinessEmail": "business@wk.com",
"entityDescription": "entity description"
}
Response codes in an API indicate the outcome of a request. They are three-digit numbers returned by the server to help the client understand if the request was successful, encountered an error, or needs further action. This operation has the following possible responses.
code | description |
---|---|
200 | Successful API response. |
400 | Bad request. Invalid parameters or missing required information. |
401 | Unauthorized access. The request requires user authentication. |
500 | Internal server error. An error occurred while processing the request. |